package com.yjd.comm.fundservice.enums;

/**
 * Created by yjd-wap on 2018/1/21.
 */
public enum BusTypeEnum {

    SUPPORT_BANK_LIST(6, "/api/verify/anon/support/bank", "支持银行查询"),
    LIVING_IDENTIFY(5, "/api/verify/anon/living/identify", "人脸识别"),
    FOUR_ELEMENTS(4, "/product/byy/anon/four/elements", "四要素验证"),
    REPAYMENT_PLAN_QUERY(3, "/product/byy/anon/repayment-query", "还款计划查询"),
    LOAN_QUERY(2, "/product/byy/anon/loan-query", "贷款查询"),
    LOAN_APPLY(1, "/product/byy/anon/loan-request", "贷款申请");

    private Integer code;
    private String url;
    private String desc;

    private BusTypeEnum(Integer code, String url, String desc){
        this.code = code;
        this.url = url;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
